package com.ray.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.ray.bean.FeedOrderDetailBean;
import com.ray.bean.OrderBean;
import com.ray.bean.ProcedureBean;
import com.ray.bean.ProcessBean;
import com.ray.bean.WorkshopProductionCycleBean;

public interface TestMapper {

//修改
	public void updateProdure(@Param("proList")List<ProcessBean> proList);

//	获取所有车间和工序
	public List<ProcessBean> getProdure();

//	获取车间信息
	public List<WorkshopProductionCycleBean> getWork();
	
//修改车间
	public void updateWorkShop(@Param("proList")List<WorkshopProductionCycleBean> proList);

	public List<OrderBean> getOirders();

	public void updateChiCun(@Param("list")List<OrderBean> list);

	/**
	 * 获取投料单明细
	 * @return
	 */
	public List<FeedOrderDetailBean> getFeedDetail();

	/**
	 * 设置投料单明细物料信息
	 * @param listFeed
	 */
	public void testSetFeedDetail(@Param("listFeed")List<FeedOrderDetailBean> listFeed);
  
	/**
	 * 获取采购单物料信息
	 * @return
	 */
	public List<FeedOrderDetailBean> tesGetPurchaseDetail();

	public void testSetPurchaseDetail(@Param("feed")FeedOrderDetailBean listFeed);

	public List<FeedOrderDetailBean> getInOutDetail();

	public void testSetInOutDetail(@Param("feed")FeedOrderDetailBean feed);

	public void testNull(Map map);

	//获取订单总投料数
	public List<Map> getOrderFeedMap();

	//设置订单总投料数
	public void setOrderSumFeed(Map map);


}
